import { Prop, Schema } from '@nestjs/mongoose';
import { Document } from 'mongoose';

@Schema()
export class Session extends Document {
  @Prop()
  sessionName: string;
  @Prop()
  userId: string;
  @Prop()
  time: number;
}
